package main

import (
	"fmt"
	"reflect"
)

func changeValue(b interface{})  {
	rVal := reflect.ValueOf(b)
	rVal.Elem().SetInt(20)
}

func main()  {
	var i int = 10
	changeValue(&i)
	fmt.Printf("num=%d",i)
}
